<div id="uc_left">
	{if $_G['users']['shopid']}
	<!-- 商家后台 -->
	<dl>
	<dt>商家信息</dt>
	<dd><a class="{if !$_GET['f']}active{else}normal{/if}" href="{url home.php}"><span class="ico1">账户概览</span></a></dd>
    <dd><a class="{if $_GET['f'] == 'sprofile' && $_GET['a'] !='password'}active{else}normal{/if}" href="{url('home.php?f=sprofile')}"><span class="ico2">商家资料</span></a></dd>
    <dd><a class="{if $_GET['f'] == 'msg'}active{else}normal{/if}" href="{url('home.php?f=msg')}"><span class="ico3">商家消息</span></a></dd>
	<dd><a class="{if $_GET['f'] == 'profile' && $_GET['a']=='password'}active{else}normal{/if}" href="{url('home.php?f=profile&a=password')}"><span class="ico2">修改密码</span></a></dd>
	</dl>
	
	<dl>
	<dt>订单管理</dt>
	<dd><a class="{if $_GET['m'] == 'order' && $_GET['a'] == 'new'}active{else}normal{/if}" href="{url home.php?m=order&a=new}"><span class="ico1">最新订单</span></a></dd>
    <dd><a class="{if $_GET['m'] == 'order' && $_GET['a'] == 'quick'}active{else}normal{/if}" href="{url home.php?m=order&a=quick}"><span class="ico3">客户催单</span></a></dd>
	<dd><a class="{if $_GET['m'] == 'order' && !$_GET['a']}active{else}normal{/if}" href="{url home.php?m=order}"><span class="ico2">所有订单</span></a></dd>
	</dl>
	
	<dl>
	<dt>菜谱管理</dt>
	<dd><a class="{if $_GET['m'] == 'product' && $_GET['f']=='add'}active{else}normal{/if}" href="{url home.php?m=product&f=add}"><span class="ico1">添加菜单</span></a></dd>
    <dd><a class="{if $_GET['m'] == 'product' && $_GET['f']=='cate'}active{else}normal{/if}" href="{url('home.php?m=product&f=cate')}"><span class="ico3">菜单类别</span></a></dd>
	<dd><a class="{if $_GET['m'] == 'product' && $_GET['f']=='special'}active{else}normal{/if}" href="{url('home.php?m=product&f=special')}"><span class="ico2">特色菜单</span></a></dd>
	<dd><a class="{if $_GET['m'] == 'product' && !$_GET['f']}active{else}normal{/if}" href="{url('home.php?m=product')}"><span class="ico2">所有菜单</span></a></dd>
	
	</dl>
	<dl>
	<dt>公告管理</dt>
	<dd><a class="{if $_GET['f'] == 'notice' && $_GET['a']=='add'}active{else}normal{/if}" href="{url home.php?f=notice&a=add}"><span class="ico1">添加公告</span></a></dd>
    <dd><a class="{if $_GET['f'] == 'notice' && !$_GET['a']}active{else}normal{/if}" href="{url('home.php?f=notice')}"><span class="ico3">公告列表</span></a></dd>
	</dl>
	<dl>
	<dt>其它管理</dt>
	<dd><a class="{if !$_GET['f']}active{else}normal{/if}" href="{url home.php?f=message}"><span class="ico1">客户留言</span></a></dd>
    <dd><a class="{if $_GET['f'] == 'msg'}active{else}normal{/if}" href="{url('home.php?f=msg')}"><span class="ico3">客户点评</span></a></dd>
	</dl>
	
	
	{else}






 	<dl>
	<dt>我的账户</dt>
	<dd><a class="{if !$_GET['f'] && !$_GET['m']}active{else}normal{/if}" href="{url home.php}"><span class="ico1">账户概览</span></a></dd>
    <dd><a class="{if $_GET['f'] == 'profile' && $_GET['a'] !='password'}active{else}normal{/if}" href="{url('home.php?f=profile')}"><span class="ico2">个人资料</span></a></dd>
    <dd><a class="{if $_GET['f'] == 'msg'}active{else}normal{/if}" href="{url('home.php?f=msg')}"><span class="ico3">我的消息</span></a></dd>
    <dd><a class="{if $_GET['m'] == 'myorder'}active{else}normal{/if}" href="{url('home.php?m=myorder')}"><span class="ico4">我的订单</span></a></dd>
	 <dd><a class="{if $_GET['m'] == 'addr'}active{else}normal{/if}" href="{url('home.php?m=addr')}"><span class="ico4">收货地址</span></a></dd>
	 <dd><a class="{if $_GET['f'] == 'profile' && $_GET['a']=='password'}active{else}normal{/if}" href="{url('home.php?f=profile&a=password')}"><span class="ico2">修改密码</span></a></dd>
    
	</dl>
	
	<dl>
	<dt>我的积分</dt>
	<dd><a class="{if $_GET['m'] == 'point' && !$_GET['a']}active{else}normal{/if}" href="{url('home.php?m=point')}"><span class="ico4">积分中心</span></a></dd>
	<dd><a class="{if $_GET['m'] == 'point' && $_GET['a']=='recharge'}active{else}normal{/if}" href="{url('home.php?m=point&a=recharge')}"><span class="ico4">获得积分</span></a></dd>
	
	</dl>
	<dl>
	<dt>我的菜谱</dt>
	<dd><a class="{if $_GET['f'] == 'caipu' && $_GET['a']=='diary'}active{else}normal{/if}" href="{url('home.php?f=caipu&a=diary')}"><span class="ico4">每日菜谱</span></a></dd>
	<dd><a class="{if $_GET['f'] == 'caipu' && $_GET['a']=='hobby'}active{else}normal{/if}" href="{url('home.php?f=caipu&a=hobby')}"><span class="ico4">喜好菜系</span></a></dd>
	
	</dl>
	<dl>
	<dt>我的收藏</dt>
	<dd><a class="{if $_GET['f'] == 'favo' && $_GET['a']=='shop'}active{else}normal{/if}" href="{url('home.php?f=favo&a=shop')}"><span class="ico4">店铺收藏</span></a></dd>
	<dd><a class="{if $_GET['f'] == 'favo' && $_GET['a']=='caidan'}active{else}normal{/if}" href="{url('home.php?f=favo&a=caidan')}"><span class="ico4">菜单收藏</span></a></dd>
	
	</dl>
	{/if}
</div>	